﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200054F RID: 1359
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightFestUpdateCoinNotify : IMessage<FightFestUpdateCoinNotify>, IMessage, IEquatable<FightFestUpdateCoinNotify>, IDeepCloneable<FightFestUpdateCoinNotify>, IBufferMessage
	{
		// Token: 0x17001188 RID: 4488
		// (get) Token: 0x06003D3C RID: 15676 RVA: 0x000A8C98 File Offset: 0x000A6E98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightFestUpdateCoinNotify> Parser
		{
			get
			{
				return FightFestUpdateCoinNotify._parser;
			}
		}

		// Token: 0x17001189 RID: 4489
		// (get) Token: 0x06003D3D RID: 15677 RVA: 0x000A8C9F File Offset: 0x000A6E9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightFestUpdateCoinNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700118A RID: 4490
		// (get) Token: 0x06003D3E RID: 15678 RVA: 0x000A8CB1 File Offset: 0x000A6EB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightFestUpdateCoinNotify.Descriptor;
			}
		}

		// Token: 0x06003D3F RID: 15679 RVA: 0x000A8CB8 File Offset: 0x000A6EB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestUpdateCoinNotify()
		{
		}

		// Token: 0x06003D40 RID: 15680 RVA: 0x000A8CC0 File Offset: 0x000A6EC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestUpdateCoinNotify(FightFestUpdateCoinNotify other) : this()
		{
			this.itemValue_ = other.itemValue_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003D41 RID: 15681 RVA: 0x000A8CE5 File Offset: 0x000A6EE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestUpdateCoinNotify Clone()
		{
			return new FightFestUpdateCoinNotify(this);
		}

		// Token: 0x1700118B RID: 4491
		// (get) Token: 0x06003D42 RID: 15682 RVA: 0x000A8CED File Offset: 0x000A6EED
		// (set) Token: 0x06003D43 RID: 15683 RVA: 0x000A8CF5 File Offset: 0x000A6EF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemValue
		{
			get
			{
				return this.itemValue_;
			}
			set
			{
				this.itemValue_ = value;
			}
		}

		// Token: 0x06003D44 RID: 15684 RVA: 0x000A8CFE File Offset: 0x000A6EFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightFestUpdateCoinNotify);
		}

		// Token: 0x06003D45 RID: 15685 RVA: 0x000A8D0C File Offset: 0x000A6F0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightFestUpdateCoinNotify other)
		{
			return other != null && (other == this || (this.ItemValue == other.ItemValue && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003D46 RID: 15686 RVA: 0x000A8D3C File Offset: 0x000A6F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ItemValue != 0U)
			{
				num ^= this.ItemValue.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003D47 RID: 15687 RVA: 0x000A8D7B File Offset: 0x000A6F7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003D48 RID: 15688 RVA: 0x000A8D83 File Offset: 0x000A6F83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003D49 RID: 15689 RVA: 0x000A8D8C File Offset: 0x000A6F8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ItemValue != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ItemValue);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003D4A RID: 15690 RVA: 0x000A8DC0 File Offset: 0x000A6FC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ItemValue != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemValue);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003D4B RID: 15691 RVA: 0x000A8DFE File Offset: 0x000A6FFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightFestUpdateCoinNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ItemValue != 0U)
			{
				this.ItemValue = other.ItemValue;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003D4C RID: 15692 RVA: 0x000A8E2F File Offset: 0x000A702F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003D4D RID: 15693 RVA: 0x000A8E38 File Offset: 0x000A7038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ItemValue = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001858 RID: 6232
		private static readonly MessageParser<FightFestUpdateCoinNotify> _parser = new MessageParser<FightFestUpdateCoinNotify>(() => new FightFestUpdateCoinNotify());

		// Token: 0x04001859 RID: 6233
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400185A RID: 6234
		public const int ItemValueFieldNumber = 7;

		// Token: 0x0400185B RID: 6235
		private uint itemValue_;
	}
}
